package com.jz.digital.net;

import com.jz.digital.bean.BaseEntity;
import com.jz.digital.bean.UserInfo;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * ================================================
 * Created: WangYong
 * Date: 2024/11/24
 * Description:
 * ================================================
 */
public interface AccountApi {
    AccountApi api = RetrofitService.create(AccountApi.class);
    /**
     * 登陆
     */
    @POST("/p3erp/login")
    Call<BaseEntity<UserInfo>> login(@Body RequestBody request);
}
